package com.geo.smallcredit.vo;

import java.util.List;

public class LoginVo {

	private int errno;

	private String errmsg;

	private int time;
	
	private LoginVo_data data;
	
	public int getErrno() {
		return errno;
	}
	public void setErrno(int errno) {
		this.errno = errno;
	}
	public String getErrmsg() {
		return errmsg;
	}
	public void setErrmsg(String errmsg) {
		this.errmsg = errmsg;
	}
	public int getTime() {
		return time;
	}
	public void setTime(int time) {
		this.time = time;
	}
	public LoginVo_data getData() {
		return data;
	}
	public void setData(LoginVo_data data) {
		this.data = data;
	}
	
	public LoginVo() {
		super();
	}
	public LoginVo(int errno, String errmsg, int time, LoginVo_data data) {
		super();
		this.errno = errno;
		this.errmsg = errmsg;
		this.time = time;
		this.data = data;
	}

public	class LoginVo_data{
		private String phone;

		private List<Credit_auth> credit_auth;

		private String userid;

		private int is_bind_card;

		private String access_token;

		public String getPhone() {
			return phone;
		}

		public void setPhone(String phone) {
			this.phone = phone;
		}

		public List<Credit_auth> getCredit_auth() {
			return credit_auth;
		}

		public void setCredit_auth(List<Credit_auth> credit_auth) {
			this.credit_auth = credit_auth;
		}

		public String getUserid() {
			return userid;
		}

		public void setUserid(String userid) {
			this.userid = userid;
		}

		public int getIs_bind_card() {
			return is_bind_card;
		}

		public void setIs_bind_card(int is_bind_card) {
			this.is_bind_card = is_bind_card;
		}

		public String getAccess_token() {
			return access_token;
		}

		public void setAccess_token(String access_token) {
			this.access_token = access_token;
		}

		public LoginVo_data(String phone, List<Credit_auth> credit_auth,
				String userid, int is_bind_card, String access_token) {
			super();
			this.phone = phone;
			this.credit_auth = credit_auth;
			this.userid = userid;
			this.is_bind_card = is_bind_card;
			this.access_token = access_token;
		}

		public LoginVo_data() {
			super();
		}
		
	}
public 	class Credit_auth{
		private String token;
		private String credit_name;
		private String expire_time;
		public String getToken() {
			return token;
		}
		public void setToken(String token) {
			this.token = token;
		}
		public String getCredit_name() {
			return credit_name;
		}
		public void setCredit_name(String credit_name) {
			this.credit_name = credit_name;
		}
		public String getExpire_time() {
			return expire_time;
		}
		public void setExpire_time(String expire_time) {
			this.expire_time = expire_time;
		}
		public Credit_auth(String token, String credit_name, String expire_time) {
			super();
			this.token = token;
			this.credit_name = credit_name;
			this.expire_time = expire_time;
		}
		public Credit_auth() {
			super();
		}
	}
}
